<?
          include("Navigation/tabs.php");
        include("Navigation/functions.php");
        require_once('Navigation/authentication.php');
        if(isset($_REQUEST['email']))
                DoLogin($_REQUEST['email'],$_REQUEST['password']);
?>

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Login</title>
</head>

<body>
        <? if(IsLoggedIn()){ ?>
        
                <h1>You are Logged In</h1>
        <? }else{ ?>
        <form method="post">
            <input type="email" name="email" autofocus title="Please type you email" />
            <input type="password" name="password" title="Your Passord" />
            <input type="submit" value="Log In" />
        </form>
        <? } ?>

        
</body>
</html>

